#pragma once

#include <raylib.h>
#include <iostream>
#include <cstring>
#include "Game.hpp"

class Tetris
{
public:
    Tetris(int argc,char* argv[]);//构造函数

    void run();//运行函数

    bool EventTrigger(float interval);//每个一个间隔，方块就往下掉一个

    ~Tetris();

private:
    std::string build_path;
    Font font; 
    Game game;
    float lastUpdateTime = 0;   
};


